package jolly.clipboard.dao;

import jolly.clipboard.domain.Clipboard;

/**
 * Created by IntelliJ IDEA.
 * User: david
 * Date: 12/17/11
 * Time: 8:50 AM
 * To change this template use File | Settings | File Templates.
 */
public interface ClipboardFacade {

    /**
     * Sets clipboard.
     *
     * @param clipboard
     */
    public void setClipboard(Clipboard clipboard);

    /**
     * Gets clipboard.
     *
     * @return
     */
    public Clipboard getClipboard();

    /**
     * Appends text to the clipboard.
     *
     * @param text
     */
    public void save(String text);

    public void save(Clipboard clipboard);

    public void startNewSession();

    public boolean isWriteSafe();
}
